home *** CD-ROM | disk | FTP | other *** search
/ Cinema Studio: Frank Herrmann / Cinema Studio - Frank Herrmann.iso / tools / chaospro / installcp < prev    next >
Text File  |  1978-01-26  |  6KB  |  112 lines

  1. ; Installationsprogramm für ChaosPro
  2. ; viel gibt's wirklich nicht zu tun...
  3.  
  4. (set DirHelp "You got a directory-requester and now have to decide, where you want to install ChaosPro. After you have choosed your favorite place, a new directory named 'ChaosPro' will be created. Into this new directory all files will be copied...")
  5. (set DirHelp (cat DirHelp "\n\n--------------------------\n\n\n" @askdir-help))
  6. (set CopyHelp "Now all the files and directories have to be copied. Lets explain, what the drawers (should) contain and for what purpose the files exist...\n\n")
  7. (set CopyHelp (cat CopyHelp "Drawers 'AnimData' and 'Anims'\n------------------------\nThese 2 drawers normally contain nothing. If you create an animation with ChaosPro, then this animation will be"))
  8. (set CopyHelp (cat CopyHelp "stored in the Anims-drawer by default. If you want to save only your key-frames and some additional data, then this file will be stored in the AnimData-drawer.\n\n"))
  9. (set CopyHelp (cat CopyHelp "Drawer 'Catalogs'\n--------------------\nThis drawer contains subdirectories with languages, so the program can use your favorite language\n\n"))
  10. (set CopyHelp (cat CopyHelp "Drawer 'DefIcons'\n--------------------\nThis drawer contains the default-icons for this distribution. So if you don't like these MagicWB-style icons, then in this directory standard icons are available. "))
  11. (set CopyHelp (cat CopyHelp "This installation utility will ask you, what set of icons you want and will act accordingly.\n\n"))
  12. (set CopyHelp (cat CopyHelp "Drawer 'Fonts'\n------------\nThis directory contains a small font. If you don't have high resolutions, then a small font is really a good idea.\n\n"))
  13. (set CopyHelp (cat CopyHelp "Drawer 'Formula'\n----------------\nThis drawer contains some formulas for use with ChaosPro.\n\n\n"))
  14. (set CopyHelp (cat CopyHelp "Drawers 'FractPic'&'FractPic_Extra'\n--------------------------------\nThese drawers contain several data files for fractals. All files in 'FractPic' are automatically loaded at startup and are displayed in a listview."))
  15. (set CopyHelp (cat CopyHelp " There you can calculate them.\n\n"))
  16. (set CopyHelp (cat CopyHelp "Drawer 'Libs'\n-------------------\nThis drawer contains the libraries, which ChaosPro needs.\n\n"))
  17. (set CopyHelp (cat CopyHelp "Drawer 'Palette'\n--------------------\nThis drawer contains several nice palettes.\n\n"))
  18. (set CopyHelp (cat CopyHelp "Drawer 'Pictures'\n--------------------\nThe IFF-pictures will by default be saved into this drawer.\n\n"))
  19. (set CopyHelp (cat CopyHelp "Drawer 'Prefs'\n-------------------\nThis is the place for the configuration files.\n\n"))
  20. (set CopyHelp (cat CopyHelp "Drawer 'Rexx'\n-------------------\nIf you want to write Arexx-scripts, you can store them in this directory. There are already a few example scripts...\n\n"))
  21. (set CopyHelp (cat CopyHelp "File 'ChaosPro'\n------------------\nThe main program. This is the executable..\n\n"))
  22. (set CopyHelp (cat CopyHelp "File 'CPPrefs'\n--------------------\nThis program you should start after the installation. It lets you choose some things like the screenmode and the font.\n\n"))
  23. (set CopyHelp (cat CopyHelp @copyfiles-help))
  24.  
  25. (set IconHelp "I personally like these MagicWB-style icons. But I'm not alone in the world. Others just hate them. So I decided to let you choose, what set of icons you want. If you don't have MagicWB - or even don't know anything about this - ")
  26. (set IconHelp (cat IconHelp "then I recommend to install the standard icons. If you like MagicWB, then just choose it...\n\n\n"))
  27. (set IconHelp (cat IconHelp @askchoice-help))
  28.  
  29. (set ExitText "\n\nWell, you should now start the preferences-program called CPPrefs. There you should choose your favorite screenmodes. After that you should choose your ")
  30. (set ExitText (cat ExitText "font to use in ChaosPro. Then click onto the 'Save'-button, a filerequester will appear. Just click onto 'Ok', the name will automatically be correct. For more information please have a look at the"))
  31. (set ExitText (cat ExitText "file ChaosPro.guide, chapter about the preferences program."))
  32.  
  33. (set installdir
  34.     (askdir
  35.         (prompt "Please choose the directory to install ChaosPro in. A directory called ChaosPro will be created" )
  36.         (help DirHelp)
  37.         (default "")
  38.         (disk)
  39.     )
  40. )
  41.  
  42. (if (OR (patmatch "#?:" installdir)
  43.         (patmatch "#?/" installdir)
  44.     )
  45.     (set installdir (cat installdir "ChaosPro"))
  46.     (set installdir (cat installdir "/ChaosPro"))
  47. )
  48.  
  49. (set @default-dest installdir)
  50.  
  51. (makedir installdir
  52.     (prompt "Creating directory ChaosPro in your desired place...")
  53.     (infos)
  54.     (help @makedir-help)
  55. )
  56.  
  57. (copyfiles    (prompt "Installing programs and directorys")
  58.     (help CopyHelp)
  59.     (source "")
  60.     (pattern "#?")
  61.     (dest installdir)
  62.     (confirm)
  63.     (infos)
  64. )
  65.  
  66. (set Iconmode
  67.     (askchoice
  68.         (help IconHelp)
  69.         (prompt "Do you want to install the 8-color\nMagicWB-icons or the 4-color\nstandard system-icons?\n")
  70.          (choices "MagicWB-Icons" "Default-Icons")
  71.         (default 1)
  72.     )
  73. )
  74.  
  75. (if (= Iconmode 1)
  76.     (copyfiles
  77.         (prompt "Installing standard icons")
  78.         (help @copyfiles-help)
  79.         (source "DefIcons/")
  80.         (pattern "#?.info")
  81.         (dest installdir)
  82.         (confirm)
  83.     )
  84. )
  85.  
  86. (copylib
  87.     (confirm)
  88.     (prompt "Copying reqtools.library to LIBS:")
  89.     (help @copylib-help)
  90.     (source (cat installdir "/Libs/reqtools.library"))
  91.     (dest "libs:")
  92. )
  93.  
  94. (run "delete" (cat installdir "/Libs/reqtools.library")
  95.     (prompt "Deleting unnecessary files: reqtools.library")
  96. )
  97.  
  98. (run "delete" (cat installdir "/InstallCP#?")
  99.     (prompt "Deleting unnecessary files: InstallCP")
  100. )
  101.  
  102. (run "delete" (cat installdir "/DefIcons#?") "ALL"
  103.     (prompt "Deleting unnecessary files: DefIcons")
  104. )
  105.  
  106. (run "delete" (cat installdir "/DefIcons.info")
  107.     (prompt "Deleting unnecessary files: DefIcons.info")
  108. )
  109.  
  110. (message ExitText)
  111. (exit "\n-----------------------\nHave a nice day\n------------------------\n")
  112.